Added functionality to the TreePathViewer