fixed wrong debug message
critial bugfix (buffer overflow)
Merge pull request #23 from ipa-bnm/groovy_dev

fixed memory leaks and buffer overruns