added subject selection.
added more form validation (all other, but not teacherclassPanel).