formatting fixes (dead links etc)

Please review and merge, thanks.