changed title.html to title.txt. added methods for error display and for
output display