Fix code to compile under Darwin.
Conditionally test signals.

While we're here, Darwin doesn't support all the signals I'm used to using.
Since I'm conditionally including some other signals, why not conditinally
protect all non-ANSI C signals.
Bug fix---a few typos.