Use stdbool.h.
Use a display link to clock desktop source.

We eventually need a reliable clock callback. A bunch of fake 'idle'
calls all at the same time won't do.