Added diagnostics opt-out switch in config dialog