Initialize colors, and fix message registration