The close-and-kill buffer and pane functions were deprecated. Updated functions.