How do I troubleshoot wifi on the GalaxyRVR?

I am getting an odd error unless I comment out the wifi start-up part of the script.
Are there any testing scripts

that I can use to see what the issue is?

Has your galaxyrvr code been modified?
In the screenshot you provided, the code does not require comments.
We recommend that you provide the complete code file so we can analyze and help resolve the issue.