Improve initial buffering.

This resolves the problem of xbmc caching the EOF of the partially
downloaded file.
A progress dialog makes sure the user is informed since the initial
loading takes much longer now.