Misc changes in agm_xmlViewer3D