Merge pull request #15 from cwh42/master

Prefer apikey/secret from commandline; Trim whitespace; Logging