wondering where I could find the code that inserts the plus sign (+) into the URL to the main image. I'd like to remove this and replace it with a space or %20.
Look for any instance of urlencode() and replace with rawurlencode() -- that should give you %20's. Spaces are not legal in URLs.
urlencode()
rawurlencode()