On a two headed display (one with a TrueColor Visual
and the other only PseudoColor) the program would choose
the TrueColor Visual for both displays.
The function ui_init needs to be modified to
match on screen number as well as visual. I have
created a two line fix for this problem. It works
See uploaded diff file for fix.