ENH: pretty-printing for nodes
some tiny fixes