added some debug logging
Merge pull request #28 from fieg/more-debug-logging

added some debug logging