Added interface for upload. Added 'author' field to file save.
Added check for unsaved changes to upload function. User is now warned if there are unsaved changes before uploading.