Minor Fixes to PlotMain