Before an error in decoding caused the program to block forever since the read goroutine returned and stopped. Now errors are reported.
Small change to remove debug stuff
Merge pull request #3 from Carrotman42/master

Bugfix