Merge pull request #9 from fromYukki/master

More detailed error and helper function
Merge pull request #10 from fromYukki/master

Debug information on decoding session
Merge remote-tracking branch 'upstream/master'