More implementation of the MIDI importer.