Refs #8632. Fixing last MantidPlot error.
Refs #8632. Fixing most of the MantidQt errors.