What I can't see is an IF THEN ELSE that should worry the compiler, though a some of your code could be described as unconventional :)
ABG makes a very good point about initialisation of text Globals - one of the things we just can't judge with only an image of the Blocks.
Make sure you copy the file Projects, My Projects, Save project as ... and also use Export selected project (.aia) to my computer (do this very regularly as a safeguard).
It might be that either your Internet Connection or the MIT Server were not 100% perfect during the time you were trying to compile, so having saved the project to your PC, you could of course try to compile again. The most straight-forward is to Build, App (save .apk to my computer).