Set ACTION_MAX to real maximum, tested
Keep outgoiung actions for a more reasonable 10 frames, and avoid another allocation