more xml attributes, moved debugging extras to xml