QMidi refactor, Stage 4

The Big API Changes.