cw.c: simplify parameter, and stop it and convert_string setting globals

Also fix a crash on NULL argument to color_atoi.