prevent safari from launching if not running (fixes #1)