Check if gui version of vim is running

As it stands, if MacVim is installed the script will try to run it, even if the app is not running. This is a fix for that.