ts_stdlib: more vec changes based on talk with @pgraland yesterday.