Manages palettes
Adds palette if it doesn't exist yet, then returns the pointer.
Gets palette pointer
See Implementation
Manages palettes