ALSA fixes, MIDI fixes and some new features, misc fixes and a