I still don't see why it would be any safer to have the King stroll around against 2 Rooks and 2 Knights in Makruk than it would be in Chess. It might be less important to do it in Makruk, because there is less to be gained by pushing your Pawns to promotion. But the logical way to treat that is to scale the King PST based on the value of Pawn promotion.
It's not, and in fact it would be scored as less safe because RRNN represent a larger fraction of the initial material. The problem occurs on the other end of the spectrum though: king safety in Makruk came out as more important than expected if simply scaled from normal chess.
Anyway, you are quite right that evaluation of identical material configurations should be invariant under changing of the initial array, so I have some rethinking to do. Not for the next release though, but perhaps for the one after that.
When dealing with multiple royals, I originally calculated king safety for both and used some sort of weighted sum (you can make some argument for any particular weight). This is in the context of Spartan Chess, where it turned out that the best option was to not bother with king safety as long as both Spartan kings are on the board. I can bring back the old code easily enough (or write something better) if needed. The question is if it is.
For Spartan Chess, the piece value of the extra royal is probably all the king safety you need. The extra king is roughly worth sacrificing a rook to capture it, which is roughly what completely wrecking king safety is worth too. So maybe it's worth something to do king safety for both kings if the value of the king is decreased for Spartan Chess.
By the way, is there a way to turn off the WYSIWYG editor on this site? In my case it often ends up as "what I see is not what I want and I can't figure out how get what I do want"?