error handling, console monitoring

examples of how one might handle xhr errors, and other ways to monitor
ready states in the console.