Clean up a lot of errors and update links.