answered
More than "careful or cautious" in general, I would say it specifically refers to a manner of talking - to speak in a refined/formal/considered way. Like, if a miner was going to meet the queen, he'd want to mind his P's and Q's. Good manners.