Finishing touches to the GameEngine class