Extract arena events to separated method, localized some globals