Added BlockPalette class, to be used by /ProperlyDrawImage