make worker visible to task functions, add id to workers and use in logging, update demo