minor changes to DEBUG
working on sleep, still buggy
using sleep with snooze
using interrupt edges for plug-in event
alarm runs during sleep from sleep timer
minor updates to alarm, including flag bits
added UART_flush