How to interact with a police officer(s)

I had a friend that was a highway patrolman. His advice was:

1) stop the car
2) turn off the engine
3) roll down the driver's side window
4) if it's dark, turn on the dome light
5) hands at 10:00 and 2:00 on the wheel
6) when the officer starts talking to you listen
7) when the officer asks you to do something comply

At the end of the day you will go home alive.