Printing the trees in readable format and other reporting fixes