added more logging and analytics capturing for #15
Merge pull request #49 from neocotic/more-logging

More logging