improve diff view

Closes #72, #81