Modules ".module" file not being called when anonymous user
If your module file defines a block, but isn't being parsed, then the block wouldn't work at all; you'd get all sorts of fatal errors, not missing CSS.

You've probably got page and block caching turned for anonymous users...that'll be why your exit code doesn't run. Try clearing the caches, it should make a difference.