close NERDTree or MBE if they are the only windows