Tightened up validation code.
improved validation code
Merge branch 'master' of https://github.com/TetonRaven/Grades
Tightened up validation