create clock to run next frame.

The clock controls the speed of the game. On each tick it schedules
itself to re-run again in the futures and flushes the queued commands in
the game that need to be processed.