Fixed use-after-free issue with XVimWindow
Merge branch 'bang-v2' of github.com:antmd/XVim into bang-v2