fix #28336: Sending 'program change' message to JACK MIDI Out
Proper implementation of stopNotes() and initInstruments() for the calls from UI and RT threads
Merge pull request #1145 from Igevorse/jack-transport

fix #28336: Sending 'program change' message to JACK MIDI Out