Sugar ants found in wall beneath window seal. Plywood rotted thru, studs not so bad. Is this because of a leaky window seal allowing moisture into the wall and creating a habitat for the ants? I am prepairing to remove the vinyl and replace the plywood, studs, and drywall so I can finish the room. How can I assure this problem doesnt repeat itself in the future?