fixed button updates, thumbnail updates in cmopare view
prevent the compare gallery from loading all images, fixed clean up of deleted images