test for reset_capture
global option for minimal shell
refactor some test pane logic
implement basic layout consistency

after creating, minimizing, restoring or closing a pane, the containing
layout's pack() function is invoked, resulting in recalculation of the
height of panes with no fixed size and resetting of all panes' heights.