Make some changes to signal handling.