Match QGIS project CRS

#151, redo of #164 and #165