Compiler warning fixups

There are still a lot of -Wunused-argument and -Wsign-compare warnings left.  The former don't really bother me (they're also easy to squelch) but the latter kind of do.