Added progress bar
Fixed premature end of file bug in XMLHandler