Changed how titles appear.
Added more events to updating title in .vimrc.
Fixed bug in .vimrc.