How to thank motorists?
A polite nod, wave or smile usually suffices.

It doesn't need to be much, where I live in the UK raising one or two fingers from the steering wheel is plenty when driving. Not sure about down south, I've heard it's a fairly local thing, but I don't imagine it being too different.