Various bugfixes to make vtkweb service work again.