towards plugins for the midi even synthesis
fix save/load state in the presence of plugins