Completed TreeViewWindow demo