Mistyped connect for pause
Setup a ping on the communication thread when not playing anything
Moved the debug text from script.js to the right side to see better