I've notice that some objects have names, for instance stretchy buttons.

As you make copies of them, new names are automatically created.

When you delete objects which are the sole source of their names then names are removed from the names dialog dropdown list; however, that is only done AFTER the file has been saved, closed, and reopened.

I think it would be helpful if there "Purge Unused" buttons in the Names, Color Editor, and Layer Gallery that the user could have the descretion of using to help remove the clutter and not depend solely on the save and reopen process.