Fixes to the download controller. Support for serializing user dictionaries and trying to make the asynchronous image loading more generic.