Minor Improvements in GameLoop.