retool threading architecture.  see discussion at http://perlmonks.org/?node_id=1069338