Save final state of MCMC
Make logging for resumed analyses more robust

Additionally, revert "Fix serialization of loggers"

This reverts commit f96fb4c808e47d47a463f0ddf5c9dc1801d3dbb4.