Added global progress reporting. Improved cache hook structure.