Small fix for label escaping.
Fixed escaping in fatal error (GUI). Added safe signal handing (CLI).

Fixed escaping in fatal error (GUI). Added safe signal handing (CLI).
Change raise(SIGTERM) to _exit (sigterm handler can overriden).