Take a closer look at what you wrote. A real close look...
It is stuck in a infinite loop.
In the Macro named [Logging] you change the variable \13 to equal the lower case s
s is usually used for spindle speed in a G code program.
In your M15 logic you made a mistake.
IF \13 <> 20 THEN GOTO :CHANGERWAIT
IF \16 <> 20 THEN GOTO :CHANGERWAIT
Because now \13 will never equal \20 and she keeps on with GOTO :CHANGERWAIT