Add the ability to send messages to stderr in addition to the system log.

This is a tiny, optional change, but I've found it eases debugging the script.

Setting DEBUG=1 before running the script sends output to both the console and the system log.