added EnableWebLog setting and cleanups