Added timeouts to ProtocolHandler; Fixed up microcontroller to work with changes in GUI