Added some more debug logging at startup.
Merge pull request #152 from drusk/additional_debug_logging

Added some more debug logging at startup.