gvim-quake: Finally get rid of flimsy sleep; instead wait until we detect the X window. Add proper dependency checking