Okay, so I have full VRML export working, except that there is a bit of a glitch. Texture maps are applied in mirror view.. Simply flipping the image doesn't cut it either, because then assymetric parts of the map end up in the wrong places.. I also seem to have some problems still with extracting the rotation component from the transformation matrix; items end up at the wrong angle in the wrong place.
Not yet sure how to solve this yet. Inverting the faces from clockwise to counterclockwise didn't solve it for example. I'll actually will have to think instead of just twiddle the values.
For now I seem to be stuck with mirror writing on the exported items.