Finished states, events, and game loop.