save MidiCodePlugin state information