^ ^ ^ +1 for the LOW expansion stuff.
Yes. Well, specifically the stuff made for windows. The window/door Great Stuff is not really less expanding than the regular. It is just partially open celled, so it is more "fluffy". It still expands around 2x (like the regular stuff, though not like the high expansion 3x stuff), but it exerts very little pressure as it expands, so it won't hurt your window's fit.
Another foam option is latex foam. Dap makes something that comes to mind:
http://www.homedepot.com/p/DAP-Daptex-Plus-12-oz-Window-and-Door-Foam-Sealant-18836/100357216
This stuff is NOT structural at all. It hardens to something not much stronger than shaving cream, BUT it cleans up with water, and if all you need is something to stop a draft, it works great. However, I like the fact that Great Stuff adds strength to your window install, so that is what I would recommend here. I reserve the latex foam for things like pipe penetrations (behind caulk).
and brake or carb cleaner works to clean the can and tube so you can reuse it without having to use it all in one go.
when you're done, shoot some down the tube to clean it out and then spray into and around the valve to clean it up.
i can't remember which works better, brake or carb, but it isn't a big enough deal with this for me to care when i pull the can off the shelf.
Non-chlorinated brake cleaner is pretty much the same thing as carb cleaner. Both are fine for Great Stuff cleanup, but so is cheap old acetone, so long as you don't let it dry first.
I once had this spot I wanted to foam that was just a little out of reach (accessible only through the hole from my bathroom vent fan). So I removed the straw, and replaced it with a 4' piece of polyethylene ice-maker line that I taped to a stick. I heated the end to get it to fit onto the nozzle, and it fit great. I now had an extended reach can of regular Great Stuff.
Then I started foaming. I got through most of the can before it happened.
I put the can down for a moment, and within seconds, the back-pressure from the hose caused the nozzle that screws onto the can to jump its threads and pop off (my hose connection stayed solid). Foam shot out of the back of the hose, and all over my bathroom floor. Racing against the dry time, I had no problem cleaning it all up with a lot of paper towels and acetone. Getting it off of the grout was the most difficult part.