Less hacky resizing

Also avoids overlap when left pane is made thin, and removes "david's original logic" (who would want that on their permanent record?)