Improving the graphing tools. Consolidated the PlotOptionsDialog with the PlotWindow, added a legend.