public static Thread GetMainThread(this IWorkingContext workingContext)
        {
            ISynchronizer syn = workingContext.GetSynchronizer();

            return(syn.MainThread);
        }