And now wrote a better treeviewer, output formatting could perhaps be better, but it works.