SetAlarm now returns a proper value to its caller.
Made SetAlarm recycle threads instead of creating new ones every time.
Added placeholders for CancelAlarm.