Add debugging
Fix reference
Fix XML
Merge pull request #37 from ekr/travis

Add debugging