moved teacher functions to teacherhelper class.
added table title to main window