Fixed small bug in options parsing, daemon debug mode, and options parsing