Fixup an issue where the SPP serial port will occasional contain stale data
Remove out-dated main method