Corrected 'close current window' from delete-frame to delete-window.