Improvized display for diff etc. Added comments.