Set cursor color and type according to mode (overwrite, read-only)
Prevent accidentally killing Emacs + enable Auto-Revert mode in Dired