Fix code analysis warnings

Fix CultureInfo and IFormatter usage
Fix typo
Minor code fixes