compilation fixes related to new color processing in sendMessage()