Added picture saving / uploading functionality

Overall changes: added ability to save pictures to localized time stamp,
upload picture from gallery, started on picture previews, cleaned up
code for scaling,