Use new readtext() function.
Improve description of readtxt().
Add parameter "tplpath" to gen_stitching_macro_code().

Can be used to specify a directory or zipfile containing the templates.