Added treeview in main window.