Good for you - then you KNOW firsthand that developed, stable Muslim nations are safe places to take one's family...and your experience is backed up by the hard numbers.
That said, your complaint that you can't do this or that in public there is of ZERO effect - it's THEIR nation, not yours. You go to a different nation and violate that nation's laws, no matter what those laws may be, and what happens to you is YOUR fault, not theirs. If you don't like the way they do things, then don't go there. Sure, while you were in the military you had the SOFA protecting you...but as a civilian, you go to a different nation, you abide by THAT nation's laws...and you accept whatever punishment you get for violating those laws.
Having been there, you should readily understand and accept this. It reminds me of when some teenage American kid decided to spray-paint a bunch of cars in Singapore, and was sentenced to caning. This happened just after my ship had had a port visit there, and not a single one of us felt the least bit sorry for the kid - it's THEIR nation, so when you are there, you have zero room to gripe about THEIR laws.
But the FACT - repeat, FACT - of the matter is it's generally safer to walk down the street in stable, developed Muslim nations than in most of America. That, sir, is a true statement.