Display thumbnail of media during upload

and improve wording for user interface messages
Minor code clean up
Handle resumable upload connection timeouts
Display error messages and reset the user interface
Add compiler flags to ignore certain warnings
Lock demo application into portrait mode