Improved asynchronous loading and saving of images

https://bugzilla.gnome.org/show_bug.cgi?id=725399