Widgetrept interface

Allows to create and edit.
forms work well enough
Clean up notebook
Dereference calls resolve_instance()

This prevents a bug that appears from time to time, but don't know how
to trigger it consistently.
Updated TODO
minimum changes