in gui WVTreeFrame, have to empty and rebuld tree elements each time