fix error message formatting, needs to be one line with THREE.warning.
make use of optionalData on THREE.error.