Refactor parser messagesForPacket into separate functions and a state struct for the pending message. Fix a bug where sysex might get dropped if ended with a one-byte non-real-time message, not an EOX.
Refactor parser messagesForPacket into separate functions and a state struct for the pending message.
Fix a bug where sysex might get dropped if ended with a one-byte non-real-time message, not an EOX.

krevis/MIDIApps,krevis/MIDIApps,krevis/MIDIApps,krevis/MIDIApps,krevis/MIDIApps