Added extra logging
Merge pull request #2 from DylanLacey/master

Add debug messages