Added error-handling for the API keys.

The program now prints as message if you haven't got the API keys.