Clean up man pages, general code tidy.