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

:heavy_check_mark: