Applying fixes and changes

Changed html templates extension by .tpl
Fixed some issues in post data
Fixed issues with editos