Fix dired hotkeys.
Rewrite function for delete unnecessary dired buffers.