code: def create_pending_tasks(self):
          
          for task in self.settings.tasks['setup']:
              self.setup_tasks.append(task)
              self.setup_results[task] = Result(task)
  
          if self.preset:
              for task in self.preset['tasks']:
                  self.tasks.append(task)
                  self.results[task] = Result(task)
  
          for task in self.settings.preview['tasks']:
              self.tasks.append(task)
              self.results[task] = Result(task)
  
          if self.preset:
              self.tasks.append(self.preset['daemon_task'])
              self.results[self.preset['daemon_task']] = Result(self.preset['daemon_task'])
docs: Creates pending task results in a dict on self.result with task string as key. It will also
          create a list on self.tasks that is used to make sure the serialization of the results
          creates a correctly ordered list.