Fixed CommandItem actions, and some variables in some namespaces not
working in CommandItems.