seperate report generation from gui
move tree display code out of gui code