Added an unencode function to convert base64 data to an data blob. Updated the image widget so that it can take a data blob.