Fixed nerdtree not opening new tabs in main window; nerdtree closes on file close.