Table widget: support for caption via preferences, slightly extended JS API, and the ability to add single rows
Fixing C&P mistake