Cleaning up loadLevel.