Fix a problem of calling onMIDISuccess
Add semicolons