tracks fixes (empty file on crash, crashing due to errored xml), [US - 336] finally finished