anchor.diff:      LoadedModules: TStringList;
       MainModule: PPyObject;
       Globals: PPyObject;
  +    procedure InitMainModule;
       procedure ImportCommand(const AObject, AModule: string);
       function ImportModuleCached(const AModule: string): PPyObject;
       function IsLoadedLocal(const S: string): boolean;
  
positive.code:       if Globals=nil then
          Globals:= PyModule_GetDict(MainModule);
      end;
  
      try
        //PythonEngine used PChar(CleanString(Command)) - is it needed?
  
negative.code:   Result+= ')';
  end;
  
  procedure TAppPython.InitMainModule;
  begin
    with FEngine do
      if MainModule=nil then
      begin
        MainModule:= GetMainModule;
  