Added view-ad functionality, fixed problem when uploading large images
in create profile.