added ability to update ui.treeview items at any time
Added ui.window close() and center() functions