Copies of attribute widgets kept in synch

Even when running unwatched.
Minor restructuring

And added and commented out debugging print statements.
Fixed a bug in paths to attribute numbers

Was trying to share the widget rather than create a new one.