Fixed bug where empty input exited menu.
Added more diagnostics for API keys.