When there's no api key set, an unexpected Electron window opens:  Maybe this is because we're trying to prompt for an api key?