Fixed XML and Download problems

Optimized XML parser and fixed compression on download (for some reason
it takes 8 seconds to call download, might just be my connection)