Set more useful flags on the logger.
Email is a required field on the user_user table.
Properly release character cache locks.