Added disaster and switch-to-last buffer function