Flushing in append and write text. TraceUtlity moved to uigen as it uses
introspection