Fix several critical warnings when using gcm-viewer
Speed up deleting profiles by an order of magnitude

Clearing a store involves refreshing each renderer. We don't need this.
Use CdTransform to convert the sample image
trivial: Fix up two compile warnings in the self tests