Remove error_log calls in public version (fix #1), Errors with the latest version from master (fix #5).