Added simple game loop.