Remove unused code from AutoLoader
Fix include path in GenHooks

Fixes #29
General fixes everywhere...