Fixed buffer close commands so they bring the previous buffer into the history (otherwise 2 consecutive :BD/:DW causes an error.