cleaning up set handling, and adapting to OpenCOLLADA.