Self-contained, easily replaceable microswitches