Added pane delete function
Added pane adding function