Make game report time in seconds, not milliseconds
Add a sleep function to abxy

Given a provided frame rate, the sleep function will attempt to keep the
game running at the correct frame rate, even under load.