Fix bookmark refresh and image download bugs.

- bookmarks and tags now properly refresh.
- fix a bug when loading an image after downloading it the first time.