Fix accumulated particles logging error, better example logging