lots of formatting updates, adding tree rendering roughout.