Keeping flights safe is a big deal for airlines, regulators, and passengers. Even though technology and safety rules have improved…