Fixed a bug in midiOut

I introduced a bug in the midiOut widget a few months ago and just
noticed and fixed it.  This also updates IntervalTrainer to work with
the most recent changes to the MUI.