"Improved" the alarm clock mechanism now most of the work is done during
the thread_sleep command