Making crowds and minds safer