Fixing doc root handling in server mode (-root is no longer used; the root
can be specified as the first unflagged argument)