some fixes, one less hack, one more patch for libgltf-0.0.1