fix removeUIWidget

I had trouble removing widgets from a Canvas, so I rewrote it until it was working for me.

- testing pointers, not names:
I was having trouble removing spacers, as they have all the same name

- fixing double deletion with labeled widgets (label & embedded):
the label from labeled widgets (for instance labeled button) was deleted twice: as a label and as an embedded widget.