You've written
GOTO Mainloop:
Try removing the colon as that's not supposed to there.