minor fixes in midi model
vst~ model: MIDI is now working properly - #736