Set palette in Maya batch mode
Changing the Maya palette in batch mode doesn't cause any issues, and the inbuilt dark palette is not applied by default.
A check has been added to detect if Maya is running in batch mode, so the window can act more like a standalone one.