Use !== and === in settings.

Mostly automated. Did some testing.

More testing would be nice.

cc @icewind1991 @tanghus @bartv2 @LukasReschke @karlitschek @MTGap @kabum