Fix bug in rename_vars where certian items would fail to be renamed.
Fix crash in GuiModList for mod logo files, logo is not rendering for unknow reason.