Mostly finished breaking out replica exchange and statistics routines from pj_async_re. This removes LOTS of code from that file and hopefully makes it more readable. Working on a way to make the doExchanges() routine more of a drop-in function rather than something to be overridden by the engine/application.