correct mod division bug for rank sending token to rank 0
drop extra send from token termination
ensure that source rank keeps an item when sending work
return terminate/msg flags in wait_on_probe, remove unnecessary call