Cleanup, links in new tabs, local images, code formatting