Assert limit is valid to prevent infinite loop.

The word wrapping will never end if limit <= 0. Better to throw than
hang.
Fixed tab rendering.

Need to ensure that newly added tabs are hidden.
Added names for tab pane in tabs demo.

Easier for debugging when all controls have an identifier.