Wow! What a project. I went through the same thing with water leaking as I mentioned earlier. I was lucky not having to replace plywood, catching my leak in time. So, I assume the leak was from the roof. Man, that must have been leaking for a long time. Everything is looking good what you have done. Pex tubing. Perfect but takes all the fun out of plumbing!