added Localization_Text for string localization\norganized and generally neatened utility code