Minor improvements to displaying diffs.