Added error listeners to the ImageLoader and the JsonLoader