Minor bug fixes, including prevent trying to generate thumbnail images for video files.