Removed unnecessary window resize blocking

I messed around with this for a little while, and ended up with a huge patch fixing quite a few window management things. 

As the proper patch needs cleaning up a lot, I'm submitting this as a super-quick fix for issue #1069.

*Tested on Linux/Windows/Mac only.*