removed unused code, added progress box for xml merger