Addresses issue #138
ensure that images in new projects are saved
changed images are also saved correctly #131