Use parameters to objects directly, no need to cache them at the top
automatically resize diff pane to match window height. Does not adjust dynamically as the window is resized, however