more work in palette_init .

Debugged and verified that pacman returns good palette values