because SetMode() is a low level function that sets or unsets a flag, it doesn't generate any output, etc.
calling SendGlobalMode() is correct