Some code improvements. Fixing error with the animation of the dots.

Fixed the error that show a wrong animation for the dots with the time.
Some improvements for the compression of the file.
Simpler code.
Added some comments.