start reworking grading interface; fix a bug in debug display if not logged in.