Okay, I can reply to this because I'm not going to address guns at all. Now I will discuss morality. What you describe involves everyone believing the same thing. This mechanism you speak of relies on a wholly accepted morality. Example: A Clockwork Orange. The protagonist, Alex, runs about raping, pillaging, and breaking every law possible. He is finally caught and has the chance to accept behavioral modification therapy in lieu of jail time. He is literally programmed like a computer and loses his free will. He is programmed to do what the government thinks is "right". He is conditioned to feel sick at the thought of doing something "wrong". This is similar to this device you speak of. Problem is, people have different opinions. And that's great. It makes us humans. People should be free to choose what's right for themselves as long as it doesn't affect another person's same right.