added average for grades_table subjects :))
some background enhancements, grades table average fix