Nicer pane management