Of course the risks of firing a gun can be mitigated and controlled, but to do so, one needs a lot more rules and procedures (both on the individual and societal level) for guns than for forklifts and swimming pools. If you disagree with that, I'm afraid I (or, I suspect, some or most of the other people responding to you) won't be able to have a real discussion with you since our fundamental assumptions would then appear to be so far apart that we'd have to regress to a much more fundamental level and clarify those assumptions first before it would make sense to come back to the relatively high-level argument at hand.
I guess if it's illegal to do so, then a "Gunshot Detection System" has use. In the same way that Red Light cameras and Speeding Detectors serve a function in managing those laws.
There are lots of places in the Bay Area where you can safely discharge a firearm within city limits. At least I know I need to review the various city/municipal bylaws to see whether it's legal.
A gun locked up in a gun safe is surely safer than swimming pool. But a gun being shot in the backyard of a suburban home is definitely less safe than a swimming pool.
My neighbors live roughly 60 feet away from my house. If I went outside and shot a racoon that crossed my property, I'm pretty sure I would be in prison.