Eliminate most globals since the sender thread preserves locals now.