Treenode emitter

Treenode now implement Emitter
DOMRectangle respect window

DOMrectangle minimal dimension respect the viewport dimension