Clean up midiParser