Immigration agents aren't the most polite people in the world but how does the immigration agent know you are not a criminal? It's his job to figure that out without holding up the line.
>the thought of a traffic stop by a bored cop "degenerating"
Did that happen to you or is that something you'd imagine happening to you? Most encounters with the police for traffic violations are professional and dare I say courteous.