Huge colorman refactoring to accomodate txView.

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>