Fix the admin interface, fix duplicate images, added remote_id to images.