Added a rebuild of the menu upon saving configuration.
Added a few global variables, for example STUDENT_SHEET and LAST_STUDENT_ROW.