making line stats precede header diffs, closes #13