Fixed highlighting for undercursor - now works in gui mode.
Primitive cterm support.