Added node, did rework on root and node.

Making Root and Node a thing, now (graph objects for handling widgets,
abstracted for broad use). Moved some of basewidget's stuff into node.