API cleaning
Moved shared/midi.c
Improved logging to inform which MIDI backend is in use
Cleaning
Test cleaning
Formatting