Various fixes to MIDI learn functionality...