Fixed a memory leak when deleting an Image Scrap

Also added code for a low memory warning dialog box. Experimental code to
trigger the warning box was added into the ImageScrap copy method, but I
commented it out since it did not work correctly on all devices I tried.