Bugfix unintialized pointers in error/log handling
compiles again and hostdrv seems to work