Clean up signal handling a bit.

Nope, that was there because the function was only used if the signal was installed. Now that it's a common function we don't need it.