Fixed buttons.
Un-screwed up refactored main loop.
Respond to serial events.
Fixed serial input.