Updated ports code, way record is reset, event timeouts, grouping replay of events, and target strategies