Clean up some compiler warnings
Implement image uploading in share extension