Handle fatal errors better