various fixes for mesh.clone();
adding a behaviour cloning capability
regress default debug level
fix for light system clone