Clean up and exit on various fatal signals; allow sys-*.c files