Initial code delivery. Mostly works. Want to get the red label to say
"EVENT DETECTED" to work correctly. Otherwise, seems to work pretty
well.