added add/remove methods to pane stack