Fix some error messages.
Check statement column count is consistent.