improved / debugged midimanager and midi plugin