Added symbolic names for message types.  Added minMsgLength array for message length checks.  Added fix up code wherever an incomplete message might have been received, so that in the future, the rest of the message can be read and processed.