Buffer management changes for ido and ibuffer.