Modify Log Codes constants. Fix some JSON.parse errors. Remove some console.log lines. Finish new mission success and fail events on server and client.