Auto save buffer when moving to another window or buffer. Taken from prelude.
Cleaned up code.
Explicitly require ido.
Save buffers when switching to another window or buffer.
color is too distracting to me. Gave it yet another try, and didn't work out.