added commentary and auto closing of nerdtree