refactor stock ledger to be thread safe
refactor newsletter for naming_series global
refactor upload attendance for doclist global