Viewer draw mk2

mad big changes, reverted due to speed. fixed major potential bugs in index out of bounds for vertices referenced by polygons or edges.