Glad to hear things ended pleasantly.
May I suggest:
1. Letter to sheriff straightening them out on the law.
2. Formal complaint about the pretext stop. You don't say whether he gave you a warning for following too close, or whether there were any cars in front of you for you to follow too closely, or whether he ever mentioned it again after the initial comment. If the evidence adds up to a false seizure, I recommend a formal complaint.