Buffalo shooter’s prior threat, hospital stay under scrutiny