Add missing const, implement Palette::colors.
Various changes.