move debug output to where it properly belongs
Merge pull request #4 from wilreichert/debug

move debug output to where it properly belongs