Make use_sudo default to False.  Other fixes.