BT_Tree: new editor and big rework