IMO a more robust mental and other healthcare system and social services would go a lot farther in preventing these kinds of things. Identifying and fixing/containing the people that are so deranged that they would kill others would stop most killings and the kinds of things that lead up to it. Most of the gun crime is a symptom of a much larger problem of people with little to no support lashing out.