A few little fixes

A warning in the log seems sensible to me; if it's printed out to the stdout when run from a terminal, any user could notice it and file a bug report if our code is bad :-)