I certainly see how this stop could have played out the way you describe, and I totally understand your anger at the time. None of which changes that the search was legal, due to your consent. There are people who, even with the threat of a ticket hanging over them, will politely demur when an officer asks if he may search the vehicle. I've done it. By and large, Americans are an impatient lot. In this regard, I am more American than most. :-)
Oh, and I apologize for the "quit your whining" comment. It was uncalled for.