fix so debug output can be enabled
fix the TRE_CHAR_MAX fix
Merge branch '01-cleanup' into 06-gc-mods