So where do we go from here? How do we prevent this from happening again? It seems that there are two schools of thought (generalizing obviously): 1. Disarm everyone, and 2. Allow everyone to carry weapons. Regardless of which side you fall in, neither work perfectly unless they are complete (i.e. all weapons are gone thus criminals don't even have access, or everyone is armed and no one has the upper hand). The problem with both absolutes, is a deranged person will always find a means to carry out their ill will, whether that's a gun/knife/driving a car into a crowd.
The safest computer is encased in concrete, and buried 6 feet underground. Much in the same way, the safest society would have each of us locked in a room, with no interaction. What we have to figure out is this: How much liberty do we all give up, to limit the devastation of the senseless acts of a few?
Also, you don't have to be either for banning guns or having no regulations at all. Instead, a compromise of allowing regulated gun ownership would be better.
Would people be coerced? Would it be voluntary? If voluntary, I suspect only a fraction of those who had serious issues would seek help. On the other hand, there would be serious issues with legally compelling people to be treated involuntarily, if they have not violated nay other major laws which would make their treatment compulsory.