Well, I went back and replaced the files that were messed up. After re-editing the files, they worked like a charm... My computer just must have been having a bad day. Oh well. Now all is well, but I still found it strange how random lines changed during the editing process.