vec: better error message and correct behavior for empty [close #2214]
exports: mark some functions to not be exported in the future.