Cleaned up code, better reporting

Was asked to add some features to my bot and switch it to submitting
links instead of comments to posts. Took the chance to clean up the
code. Still not to Python standards, but it's nicer.