Refactors MIDI infrastructure. Upgrades to latest Infusion.