fix pf.R
safer StateMPI::copy
simplify seed logic
clean
remove unused macro
use max_tag as tag for copy
doc