[SpecsLab2 XML] bug fixes and improvements