Fixed small bug in options parsing, daemon debug mode, and in the Impuls protocol