wire frame became very limited... the information of faces (vertex colors and UV reside there) got lost. Solved it nicely with creating a large index table, and use bsearch() to get quickly the matching information. Then I noticed the render code needed fixes too for wire, no proper UV's were calculated over the wire edge.