Add simple countdown feature for timer 0.

Extends the "delay" feature with ability to asynchronously wait and execute other operations while waiting.