“How to be safe in a foreign country” has some good tips on things to do prior and during your trips to any country you’re not familiar with. Do your research before you go there (protests in Bangkok perhaps?), make copies of your documents, take important contact information with you, and a host of other tips (like: don’t look like a tourist 🙂 ).
You can read the original post here. And if trouble does break loose, check out the “how to survive a riot” article.
And if things really go south, and you happen to get stuck in a war zone, the “Dark arts for good guys” series over at this site may be an entertaining – althought slightly worrying – read.