Thank you Sarah, I managed to fix those issues.
I’ve attached the most recent error message and the code as it exists right now. The first “serial” that it mentions in the error on line 242 is the first “serial” under the Main Setup Function section of the code. It doesn’t look like I’m missing any closing braces so I’m not sure what the issue is here. Thanks again for your help.