Fixes for crashing app if progress block is nil
Merge pull request #10 from antondarki/block_fix

Fixes for crashing app if progress block is nil