Slight refactor to clean up the GameLoop