added functionality for framerate polling as well as cleaned up the change level code in Game