colortext library and copatibility improvements