Add autocommands for quiting when last buffer is nerdtree and disable cursorline on focus lost.