fix grading systems: all grades are stored in percentage, and the field_grade makes necessary conversions
few fixes and improvements