Fixes #7, where app kept reopening on win8. Seems my sendkeys hack is misbehaving on win8.