added indentation to tree dumping and cleaned up extra space that it used to allways produce