Correct off-by-one error
Const correctness for vector_bsearch
trim_ws function
Column name and type parsing; cleanup