Removes a bunch of unused images.