Clumsy effort at integrating Tread's parser into the serial port read fxn.