Fix licenses.

Also prepare to add multiview support.