Changing TreeDump to output to the debug console