Signal handling improvements.