switch from strchr to memchr for broadcastToAgents
remove some more MARKER_CAPTURE code