Figured out the bug on the PaletteView, woo! That's been fixed up, as well
as a few comments added. There is still some cleanup to be done, a well as
adding proper color selection, but that can be the next step.