fixed possible memory leak & access violation on windows text extents
removed auto4 bridge scripts; made utils.lua consistent to other include files
fixed & improved auto4 macros
some minor code improvements