extract GET_TIME
add bsLCat for in-place concat
implement basic templates
add debug to Makefile
fix bsSetLen off-by-one
null-terminate template buffers
use template