Offpolicy MC random + bug fixes