Don't hold the main lock while reading MIDI events, it eventually causes
a lock up...