Fixed bug where vim would stay open if you closed a window without typing.