Work needed to make wreport thread-safe
 - notes: uses static infrastructure
 - vartable: use static infrastructure- 
 - dtable: use static infrastructure- 
