treebrowser cleanups