Tweaks to wing edge detection.