Fix comparisons across the project

This improves performance because way less string objects are created, and also fix a few globalization warnings.
I could see no differences in a 1.000.0000 loop , so I guess the optimizer fixes this