locales for buttons and popup
added initializations to task.priority and task.weight;
substituted priority for weight in calculations of rewards.