Fixed MIDI hack.
Merge branch 'master' into development