Tweaks to new_make_JPEG