Improved settings regarding automated thresholding in order that finding best value doesn't take forever...