Progress bar update as need. Fix float() error.

Fixed bug causing the TX rate to crash the program when completion reaches
100%.

The updating of the progress bar with killing the CPU performance and
causeing the Xorg procces to go crazy.