Minor updates

* Unmounting is now attempted multiple times before quitting.
* Failed images are deleted unless ‘—persist-on-fail’ is specified.
* Renaming an image updates that image’s references to itself.