Fixed the issue which allowed OpenCOR to remember which parameters to plot after closing and reopening a CellML file (closes #174). Also some minor cleaning up.