Fixed incorrect variable.
Fixed SW not updating regression.

Smaller updates to variable names that weren't taken into account during the TF_ prefix adding.
Added the original bug fix to the debug mission.
Merge pull request #375 from CorruptedHeart/bugfix

Regression Fix