Better locking for MIDI music.
Some notes still seem to get swallowed when changing songs.