palette[picker]: Fix palettes debug messages. Simplify addPalette().