Starts the thread in its own event loop if the local and global thread
        options are true, otherwise runs the thread logic in the main event
        loop.

def start( self ):
        """
        Starts the thread in its own event loop if the local and global thread
        options are true, otherwise runs the thread logic in the main event
        loop.
        """
        if ( self.localThreadingEnabled() and self.globalThreadingEnabled() ):
            super(XThread, self).start()
        else:
            self.run()
            self.finished.emit()