Fix clipping, clicking, add sawtooth, square, etc.