Refs #8632. Fixing some MantidPlot errors.