Changed progress type to float.

The same pull request to the dev branch now. Just though it would be a nice idea to have progress as float (that is the thing I currently miss in the library). Checked all the present examples, they continue to work as expected. 

Thanks for the lib!