Removing unused images and fixing duplicate entries in project file