removing unused media and cleaning up comments