reduced memory footprint, save now updates the graphs, first and last points fixed