wrap strings in Error objects
add basic support for the half-float texture format