Refactor the Query & Download thread and progress management out of TCQueryActivity...