Added the minimal nerd tree option and have it such that it closes automatically if nerd tree is the only remaining buffer.