browsing for teachvariables extended to work on project and global scope
as well