Further implementation of the subpalette handling.