Fix regex, improve comments, remove print of secrets

Fix line_regex, add comments, rename url in process_image to name to be
more descriptive of what the actual function is doing. fix #3