Remove duplicate images.
Remove pictures that aren't used