Is there any way to remove the X and KM icon from palettes?

Allow actions to turn on and off specific palettes or specific macros within palettes.

Use the action "Set Macro or Group Enable".

Create a way to "glue together" application windows and palettes.

I use this all the time!