#470926 reported by surge_martin: fixed caching problems. Initialization happens in hook_boot now, instead of hook_init()