bktool: Support for pushing and popping palettes.