Finished debugging the thread sleep functionality.

All non-priority alarm tests (alarm-single, alarm-multiple,
alarm-simultaneous, alarm-zero, alarm-negative) pass.