seperate report generation from gui
move tree display code out of gui code
move builder to Util class
added machine parsable mode