Refs #6 - Fix game loop.