Added alarm sleep fcn, minor changes to timebase, display output