Use success/error CSS for Public IP entry
Review Request #1674 — Created Aug. 29, 2022 and submitted — Latest diff uploaded
Also, use simpler API for setting the classes.
Entered valid/invalid IPs in the Public IP preference entry, and similar for the Debug Window filter.