made small cleanup re: code review; found bug in still differentiating teacher/student, made code more flexible to compensate.  In future, use similar techniques to make cross-app browsing more fluid.