headChanged called when head command is changed, or the command itself changes state. See AlsoFieldsfHeadfTail