Register for fatal error signals
Add todo