Changes in gradebook.js
Fixed bugs, edit handlers