cleanup of some experimental commented out work
uses pairs instead of element by element comparisons
adds functionality to have it make pre-existing MIDI information again