Removed unused lines in main and unused images.