Eliminated <<- from code

No more use of <<- to make global assignments.  Instead, I used a
package local environment for the rtf function objects (figcount,
tabcount).