Fixed some bugs in s3 upload.  Made code uploads separate from forum image uploads.