Make the display color cache weak
Added utf8 to global
Changed text pattern search to be non-greedy