Wrote up new MIDI file I/O functions. These aren't used by the suit proper yet, but will eventually be used to help enforce the seperation of MIDI code from SMD code.