Palette fixes, converted command to synchronous calls.