Made game loop nicer

Closes https://github.com/PistonDevelopers/piston/issues/606
Merge pull request #608 from bvssvni/master

Made game loop nicer