Added trash icon

To use to distinguish closing a backside from removing the entire
widget.
Added handling of sensor circularities

Sensors of a widget when on the back of the widget caused JSON
circularities.