Gnome editor sometimes creates files that have a lot of crap at the file-end.
I can second that - any unexpected crashes I usually find it's best to first open up any files recently Gnomed, using Notepad, and there's occasionally a load of guff at the end. Seems like Gnome has a tendency to do a random copy and paste. Deleting the guff and resaving using Notepad usually solves the problem. If not, THEN you're looking for the missing space, comma-in-hiding, mysteriously inappropriate faction colours etc etc