Avoids rewriting Tab panel content. Fixes #2530253.

The "content" setter now compares the panelNode's existing HTML with the new content, and avoids updating if they are a match.  Ditto for "label".