Cleanup unused images.