Added framerate control

Framerate control has been added back into the main game class. The
initial setting is for 30.