improved diff and context display, fixed nav arrows