It could be nice to get a visual representation of the tree at any given moment, including the current node. Consider using graphviz format as a possible output.