ADD: some loader error handling
CODE: copied XHRLoader object from three.js and
      changed to catch status codes