Made changes in how grading is evaluated, fixed a bug in the question
creation form, and re-arranged source a little bit.