Changed global mode toggle to (num)g