changes to tpl. Removed debug data.
Added extra function for inline address editor;