Cleaned up midiogre-mid.c to match example