Exactly.
A kid with a past like that should have been flagged in a database that prevented him from legally purchasing any firearm.
Of course, that wouldn't have stopped him from stealing a gun and using it...or using a bomb or some other weapon for doing harm.
Agreed.