Hi Willie,
It looks to me like that mainsail was converted from a bolt rope to slides, and the conversion wasn't done properly. The obvious thing that jumps out at me from the pictures is that the slides should be connected to the battens in a manner that transfers the compressive load from the battens to the mast properly. The grommets and shackles used do not transfer the compressive loads from the battens to the mast. That second batten is putting a lot of compressive load on the luff.
The slides were added below the battens. The person who did the conversion should have installed new batten boxes (aka receptacles and protectors) on the luff of the sail. The plastic batten boxes on your sail are for use only with bolt rope, and are not recommended for use with slides.
The least expensive way to do it is to use a batten box at the luff designed to attach the slide with webbing not shackles. Switch to an Allslip slide, rather than the ones on your mainsail. There may be some binding using this kind of system, but it often works well enough for boat up to about 30' if the mast is in good condition. This hardware will cost about $20 per batten, plus the needles, palms, etch.
For example, see this video from Sailrite.
The best way to convert would have replaced those receptacles with with a fully articulating stud connection between the slide and the batten box. For example, the Selden receptacles with an "M10" stud would be the next step up, used with an Allslip slide. This will cost you about $35-50 per batten for the batten box, articulating stud, and slide. The only tools you'll need are a small soldering gun (to melt holes for the screws) and a screwdriver. Other full batten systems suitable are the Rutgerson 1530 system, Sailmann 3500, and the Ronstan BattSlide, but they are likely to cost you more. As far as I know, these systems are not sold directly to the public, because the companies who sell them are not equipped to teach DIY-er how to select the right parts. A sailmaker can help you get them.
Regards,
Judy
PS. The second batten is a little too loose, as evidenced by the wrinkles in the sail. The batten should be tensioned with "just barely" enough force to remove the wrinkles. The batten pockets may need some repairs.
PPS. All the slides should be the same distance from the luff, so the luff is the same distance from the mast, all the way down. You may need to lash the tack of the mainsail to the gooseneck with some line to ensure it's pulling the sail down in proper alignment too.