Added progress bar and cross-browser completeness (make sure query response functions sit outside scope of call).