* cleanup in NodeTreeItem
* introduced some constants for character attributes
* don't use external linkage
* updated TODO