sq3: better (i hope) error reporting