Make MidiIO a QObject subclass