edit of cl templates setform button display changed footer changed overall layout a bit
fixed tracking activeState.lastElement