progress polling changed to setTimeout to prevent piling up of requests; bugfix setting offset