Fixed days left showing as something like '7/1' instead of just '7'.

The days left for a grade spreadsheet for students was showing up as something like '7/1' instead of just '7'. Converted to an integer, and did some quick cleanup of the code in that file too.