fixed text validator
extended the period manager
removed legend.tpl