I'm all for gun rights, but lets keep some perspective. The Constitution gives you the right to possess guns, but it's up to each of use to do it responsibly.
1) PLEASE let the cop know you're armed ESPECIALLY if you decide to mount it under the dash or on the console. Otherwise, you may innocently reach for something (registration, set the e-brake, whatever) and he may innocently blow your head off. The good news is that you're both innocent. The bad news is that brains are hard to clean up.
2) It is your responsibility to secure that gun. Locked in a vehicle is not secure - we all know cars get broken into regularly. Take it with you (best), put it in a lock box, chain it, disassemble and take the barrel, whatever. I can't quote any stats, but I am quite certain a significant portion/majority of non-domestic homicides are committed with stolen guns. If your gun gets stolen, whatever happens with it after that should be on your conscience.
I don't mean to rain on anybody's parade, but I have seen a lot of dumbass stuff done with guns (and this includes CCW permit holders and LEOs). Seriously, a CCW permit is like a drivers license: it just allows you to carry it, but doing it right is on you.