Modified architecture (only point3D is ported, and that only partially)
Fix viewer and make dragging point3d less silly