making progress. Got rid of several mallocs, but a chain of paused workers is still not being restored correctly-
haaands