Tweaks to require-after-idle, add delete-buffer-and-file command