Use scratch buffers and open NERDTree only on directories