Change imgur upload to base64 data instead of URL
Fix str concatenation bug
Minor code style changes