  import platform
  import sys
  import tkinter as tk
  from tkinter import filedialog, ttk
  
  import numpy as np
  
  from PIL import Image, ImageTk
  
  from lib.Serializer import JSONSerializer
 
</s> remove         self.root.config(cursor="")
 </s> add         widget = self.root if widget is None else widget
        widget.config(cursor="")
        widget.update_idletasks() </s> remove     def set_cursor_default(self):
        """ Set the root cursor to default """
 </s> add     def set_cursor_default(self, widget=None):
        """ Set the root or widget cursor to default """ </s> remove         self.root.config(cursor="watch")
 </s> add         widget = self.root if widget is None else widget
        widget.config(cursor="watch")
        widget.update_idletasks() </s> remove     def set_cursor_busy(self):
        """ Set the root cursor to busy """
 </s> add     def set_cursor_busy(self, widget=None):
        """ Set the root or widget cursor to busy """
from threading import Event, Thread
from queue import Queue
  import platform
  import sys
  import tkinter as tk
  from tkinter import filedialog, ttk
from threading import Event, Thread
from queue import Queue
  import numpy as np
  
  from PIL import Image, ImageTk
  
  from lib.Serializer import JSONSerializer
keep keep keep keep replace keep keep keep keep keep
 Add LongRunningTask class to GUI Utils 
lib/gui/utils.py