motor pulse threshold overflow guard
minor cleanup
correctly (but hackily) set initial state
add STATE_WAITING (blinky LED)
added LED pattern speed to state packet. no overflow guards yet.
disconnect and reconnect devices
wait 1 sec if button not found
debugly