Fixes to make to module work again.
Fel angiven log, fixad.
Merge pull request #1 from HaToHo/master

Fixes to make to module work again.