Fix/ichuang/sga ungrade

Fixes ungrade bug in SGA; was getting the string "None"; now interprets that properly as None.

Also now logs to tracking log.