Don't consent to a search, but you also don't have to answer the officer's 20 questions or small talk. I get the impression that is what starts the issue with most of these people.
IMO, just give vague answers if needed and remain relaxed. There are a lot of youtube videos of traffic stops and a lot of those people get angry, agitated, and belligerent in speech if not physically. They might be right, but I don't think it helps.