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

what's the difference between vqbInvalid and VQBHasErrors?