move parameter; fixed crash with very small files; added progress dialog