Change patch-file's lineendings to LF
Fix a warning
[2805] Fix restarting event after a FAIL

Thanks to Ulduar for pointing.
Close #42