redid queues as treewidget