Codechange: Rename local 'criteria' to 'world.level_criteria'.
Codechange: Rename 'total' to 'winning_goal_count', fix error in free build mode.
Codechange: Rename 'crit'/'criterion' to 'crit_name'.
Codechange: Move 'win' and 'lose' closer to their use, document function.
Codechange: Eliminate 'modifier' variable.
Codechange: Rename 'active' to 'world_goals', remove 'self.criteria' (it's a copy of 'world.goals').
Codechange: Rename 'str' to 'tooltip'.
Codechange: Rename 'current' to 'cur_value'.