Yep, that's what it was. I've replaced those lines and tile editing is no longer crashing on save now. Thanks, YAL.