documented uriroot and uribase options; cleaned up some other bits based on more experience with the task.