working around apparent threading issue with channel context menu on windows; plus some older changes i do not remember vividly