Diff display: implemented independent mode selection.