Added debug options for tree printing