Introduce a finalize pass to delete temporary file copies of images stored in SQL
  Also cleaned up option defaulting everywhere with merge_array