fixed type in synth code; sequencer improvements