There is evidence, though, that some meds given to distraught people actually give them the courage to commit horrible acts rather than just fantasize about them. I am not relating that evidence to this case at all but we cant ignore that fact.
We need first of all to have a much tighter rein on freedom for people who are at risk of harming themselves and others. Maybe it necessitates panels drawn like juries from a pool of varying health and morality* professionals.
*maybe religious or other spiritual professionals added to psychologists and shrinks