lots of new bits: lines, segments, circles, plotting