refactor PaletteTable
refactor PaletteTable, delete blank lines
refacor PaletteTable
refactor PaletteTable
refactor PaletteTable
refactor PaletteTable
refactor PaletteTable