Minor fixes to input checking, error reporting in daemon commands.
Minor fixes to input checking, error reporting in daemon commands.

opentechinstitute/commotiond,opentechinstitute/commotiond,opentechinstitute/commotiond