treeviews replaced with tablewidgets and some ui changes