midiogre: Replace deprecated function + doc + cleanup