Fixed trailing whitespace
Close vim if NERDTree is the last buffer open