some changes to lessen R CMD CHECK reports Notes
improve doc