rewrote error handling in tiff_goodness and opencl_utils