Record receives sends and other events

At this point we end up with a record of everything. Now need to assign happens before
relationships where possible.