Better separation of the palette functions.
Removed the palette driver.

19 files changed