got rid of a parameter in MainGameLoop