Bug 1001724: don't use distorted EXIF previews, generate thumbnails more efficiently, enable previews of large jpegs