Made changes to Deck and card_editor in an attempt to reduce the amount of distortion caused to the images of card-files from being saved multiple times.