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

type `posInt` not type `int`?  what about 0?