Update gsuploader.c

Added ability to define custom upload, and entrypoint addresses, and a few other small changes.