How a deadly tornado gave rise to a smarter alarm