handle causality tracking and starting some stats