added ability to save sequencer state