Work in progress on DOM implementation on structr nodes, lots of debugging code.