[WIP] Extract strings.c from misc2.c

ref #209