Improved MidiReader: a note_on only serves as note_off if it is close enough; also, force note_on and their note_off to match in pitch.