Fixed FxCop an VS analysis issues, added localization support