added a few small fixes and NERDTree