Discussed with Misha. We agreed we should have proper logging (debug, error, etc) for all extensions. Perhaps adapted from chromium. Anyway, we remove debug code before commits.