Fix the build
Fix uninitialized variable
Merge pull request #2 from atalax/master

Few fixes to get Shredder to build and run properly