Add complete xwc loading support, add xwc3d load/save classes, more minor changes