Changed hardcoded error message, html-sensitive title and ty messages