If you cut the nails holding one of the corner studs to the bottom plate and the top plate with a Sawzall, you can use a flat bar (or a flat bar plus a wrecking bar) to pull the stud off the sheathing nails. Either re-use the stud, or buy a new stud, and install the stud with toenails as shown in the link I provided in Comment #51 (this link: Outside corner detail).
How Much Will Spray Foam Save Me
While coatings may potentially stop minor leaks, the roof should be properly repaired and dried prior to coating application. Coatings may be able to seal pinhole leaks, which are leaks not visible to the naked eye. If the roof is leaking, the roof leak will need to be identified and repaired prior to any recoating; do not expect the coating to find and seal the leaks.
Spray foam insulation is typically priced by volume, meaning your cost will depend on how much material you need to use to insulate your space, although other factors may influence price as well. In most cases, the cost of spray foam insulation is more than worth it, as it's a once and done upgrade that will not only provide energy savings in your home, but also improve your home's overall comfort.
However, coating asphalt shingles and built-up composition roofs requires more caution. The National Roofing Contractors Association’s (NRCA) director of technical services has stated "The roofing industry is aware of a number of issues that could have negative consequences for field application of coatings over asphalt shingle roof systems. Anyone considering this type of application should be aware of the concerns so they can weigh them against the benefits claimed in coating product promotional materials." http://youtube.com/embed/ggLAUsiuI_o
Thoroughly clean the roof surface. Roofs collect oils from asphalt, chimneys, and cars plus lots of dirt and dust. Coatings don’t stick well to any of these. We recommend cleaning with an inexpensive solution of TSP or TSP Substitute in a bucket of water (follow label instructions). Use a broom to scrub ponding areas and areas of peeling coatings. Work a section at a time and hose off the dirty water. Sweep away puddles to promote drying. Do not allow wash water to dry on walls, furniture, windows, and visible surfaces.