documentation changes and cleanup based on code review.  Also made syncmodels use CommandError for nicer output.