Add extend-line that can extend existing XYSeries. Also a couple of
helper functions (remove-series & has-series?)
Bug fix