v1.2:
DRY: combine row prepare functions into insertRow
Added font field to every string chunk obj;
Use font field in obj when stripping spaces
Moved helper functions to its own file to reduce code size
Removed grid.lua dependency
Demo tweak