Code run through a tidier to neaten.
Added function stubs for imgur.com upload, and reddit submission.