Rate limiting of resize events
Corrected some typos.
Intigraded my resize code with game_loop.
Merge pull request #4 from gjersvik/master

Added support for limiting the rate of resize events