Document game loop more thoroughly.