Fixed fatal error handling errors (how ironic).