Fixed NullPointerException when judge has finished grading.
In retrospect, asynchronous UI events is completely pointless.
Made UIActions less stupid and #72