There's no error when exiting other than one about regions.txt from the campaign.

The underscores are fine its first name: "Boromir" last name "the_Mighty".

I believe its reading all the way to the bottom of the units because it gives an error when I change the last name in the list so its reading up to that point.