Somewhere I had read an idea that sounded pretty good to me in helping to handle the phenomenon of mass killers looking for glory - the media should, as a matter of self-restraint, not publish their names. This isn't a call for government censorship, and I'm sure somebody somewhere will publicize their names, but we could still deprive them of the glory they're looking for on the front pages of the major newspapers and websites, and keep their names off the television networks.
I think it might also make sense to obscure their faces in some way when photos are shown in the media, so they can't anticipate that the image will go down prominently in history, either.
I don't know if this will actually restrain a killer from going on a rampage, although who knows - if someone's balancing on the edge between checking himself into a mental hospital or going out in a blaze of glory, maybe it could sometimes be decisive. If nothing else, though, it would help media and the public focus on the names and faces of the victims in the aftermath, where the attention belongs.