Some refactoring in localization. Russian translation updated.