Improvements to diff view