Added the ability to put template params in the text, outside the markup.
Added proper displaying of errors in case they occur within the interface.