Made treeviewer accept a list of arguments rather than just one.