Sets XEngine threads to en-US culture before calling script events, fixes i18n issues with european locales.