Add logging capability
Minor tweaks to logging and SpeechRecognizer