Implemented Error Handling for Failed XBlock loads