     }
 
     Global Mark := []
-    Global SaveMark
-
-    IniRead, SaveMark, %ConfigPath%, TotalCommander_Config, SaveMark
+    Global SaveMark := ini.TotalCommander_Config.SaveMark
+
     if (SaveMark <> 0)
     {
         IniRead, all_marks, %TCMarkINI%, mark, ms

    history := ""
    if Mod(LeftRight(), 2)
    {
        IniRead, f, %ConfigPath%, redirect, LeftHistory

        if FileExist(f)
            IniRead, history, %f%, LeftHistory

    global TCMarkINI
    global ini

    TCPath := ini.TotalCommander_Config.TCPath
    TCINI := ini.TotalCommander_Config.TCINI

    if !FileExist(TCPath)
    {
