Minor fixes
Merge pull request #11 from KofH/gameLoop

Minor fixes