tag tree nodes refactored, faster building of tag tree, some redundant logic (export and view in gui) simplified