Text this: Improving our ability to distinguish gravitational-wave signals from detector transient noise for the fourth LIGO-Virgo-KAGRA observing run