TODO
* listeners need to created correctly.
+* create output to JS ...
* templates for elements... - eg. defaults for classic elements.
* sort out add heirachy for Gtk..
* make heirachy editor...
* use application to write itself...
-* create output to JS ...
+