Revert "Fix my NERDTree function when the buffer is deleted/wiped."

This reverts commit 5add6f9bf687f7cda33234bb3108f528a3bc38af.