Tilovell/worker should record last failure applying edit

Ignoring whitespace is recommended