Avoid override of images with same name on preview window, appending a number to the image name.
Avoid duplication of images with same name on preview window, testing by hash, if images has the same but with same hash will not generate other images with number appended, will try reuse image.
Improvement of download images, now it will follow redirections.
Improvement of type image detection, try many ways to detect image type.