added XML output to SEH analysis
minor changes to remove warnings
indentation