Fix recording to work with multiple MIDI devices...
(still room for improvement)