added SimplePlot, several bugfixes