Remove unused variables and const for Bson.toString. See #659.
Rename getWorkerTask to runWorkerTaskH and remove unused variables. See #659 and #649.