Set iframe interval to 1 second (seems to be the default).

This improves seeking in video a lot.
Also set the analysis ref.

Fix a crash when accessing the ref.
TableView improvements.

- Optimize onRowRemoved.
- General cleanup and make indices for data and header rows more
consistent.