Add validation/error reporting to VQB. Fix #147.

It did need to be added to a few places.