large line buffer allocs made dynamic (prevents stack overflow in threads in Gingr)
merge