- Added error window
- Added try catch to xhrRequest and made it take use of the new error window