Added some settings for NERDTree
Fix some dirspersist issues