Fix warnings caught by MSVC on /W4 (mainly using ints for color, which is unsigned char)