I am very pleased that you had such a great outcome.
Cops, Myself included, tend to give out breaks to those that do not give us a hard time and are respectful. It seems that you were and even though you were in violation he let you go with some warnings and gave you a ticket that was easy to get oout of.
So both sides won that day!!
Had you started spouting some of the things I heard here you would have rightfully received EVERY ticket possible.
Thank you for pulling into the parking lot too.... so many cops and motorist vehicles are rear-ended during traffic stops from rubberneckers!