Adding progress dialog when generating the statistics
Fixing compiler warnings because no-one else will.