Simplified signal handling and make it POSIX compliant (technically shells needn't support the SIG prefix on signal condition names)