      def ask_multi_load(filepath, filetypes):
          """ Pop-up to get path to a file """
          filenames = FileHandler("filename_multi", filetypes).return_file
          if filenames:
              final_names = " ".join("\"{}\"".format(fname) for fname in filenames)
              logger.debug(final_names)
              filepath.set(final_names)
  
      @staticmethod
      def ask_save(filepath, filetypes=None):
 
</s> remove         retval = filename if extension else "{}.{}".format(filename, self.file_extension)
 </s> add         retval = filename if extension else f"{filename}.{self.file_extension}" </s> remove             name = "af_subframe_{}".format(idx)
 </s> add             name = f"af_subframe_{idx}" </s> remove def _get_tooltip(widget, text=None, text_variable=None, wrap_length=600):
    """ Store the tooltip layout and widget id in _TOOLTIPS and return a tooltip """
 </s> add def _get_tooltip(widget, text=None, text_variable=None):
    """ Store the tooltip layout and widget id in _TOOLTIPS and return a tooltip.

    Auto adjust tooltip width based on amount of text.

    """ </s> remove                                                   "text_variable": text_variable,
                                                  "wrap_length": wrap_length}
    logger.debug("Adding to tooltips dict: (widget: %s. text: '%s', wrap_length: %s)",
                 widget, text, wrap_length)
 </s> add                                                   "text_variable": text_variable}
    logger.debug("Adding to tooltips dict: (widget: %s. text: '%s')", widget, text)

    wrap_length = 400
    if text is not None:
        while True:
            if len(text) < wrap_length * 5:
                break
            if wrap_length > 720:
                break
            wrap_length = int(wrap_length * 1.10)
 </s> remove         new_config = dict()
 </s> add         new_config = {}
            final_names = " ".join(f"\"{fname}\"" for fname in filenames)
      def ask_multi_load(filepath, filetypes):
          """ Pop-up to get path to a file """
          filenames = FileHandler("filename_multi", filetypes).return_file
          if filenames:
            final_names = " ".join(f"\"{fname}\"" for fname in filenames)
              logger.debug(final_names)
              filepath.set(final_names)
  
      @staticmethod
      def ask_save(filepath, filetypes=None):
keep keep keep keep replace keep keep keep keep keep
 Core updates
   - Change loss loading mechanism
   - Autosize tooltips based on content size
   - Random linting + code modernisation 
lib/gui/control_helper.py