Tweaked rtmidi import.