refactoring to make supertreecontext a pointer so we can test some funcs with nullptr
refactoring to make supertreecontext a pointer so we can test some funcs with nullptr

bredelings/otcetera,bredelings/otcetera,bredelings/otcetera