Added settings to control use of sidecar files.

Can also enable/disable writing of metadata to image files.