Add additional logging.
Merge pull request #91 from jsantell/add-debugging

Add additional logging, r=@erikvold