Various bug and stability fixes - Palette is usable now!