Additional link verification

404 type errors and invalid urls now handled. Thanks php5!