Remove nerdtree.
Toggle on filetype like all the other cases.
Move window resize behaviour.
Update submodules.