I made some minor changes to the GameEngine class.