Save scale factor settings to project file.

Also cleanup mirrorMap.py.