Engine: add hookResult stub
app: fix race between input done and judgeResult
app: clear judgeResult in finishResult
Engine: put added result events