Added changes so that multiple objects can be stored in the XML file format. Hence all results can be put in one file.
Moved a constructor definition out of the class declaration because some compiler versions complain the lamba is an undefined reference.
Change legend fill colour.