Well, modplug DOES load a copyright message into the comment field. Isn't that what you are looking for? I see that modplug triggers a heap overflow or whatever when loading any MIDI file, so I wonder if it would be easier to just rewrite the whole loader...