Added support of POSIX signals in application.