I do make a point to nod or wave thanks to motorists, even when all they are doing is obeying the law. I think of it as my own PR for cycling.

On the other hand, when they do something egregiously wrong, I have been known to bellow like a bull. & they can usually hear me with the windows rolled up and the music on.