Finished adding support for RecentPhotos and Thumbnails loading on demand then being stored in the database. Not sure if I'm happy with my solution for thumbnails.