captureArtifactLinks improved

cleaned up captureArtifactLinks() significantly (largly eliminated
redundent code) and commented out the alert messages in the catch
blocks.