Added save image functionality. Fixed QM results save issues.