added blog name in title tag
cleaned up error handling to support multiple languages