While I agree it sucks that you got patted down and all that stuff, the simplest way to avoid this happening again is to get rid of the blue bulbs. The cops are going to keep finding chicken shit things to pull people over for and if you have the blue bulbs on your car that's basically an invitation for some pig to mess with you.
Plus, blue bulbs are ugly.