Fixed so that logging actually works in daemon mode.
Fixed client so it works if no verbosity level is specified.