Changes to serial protocol to avoid buffer overrun
Removed unused enum
Fixes to new protocol, better output