Black screen with no errors

You might want to check

I placed a break there.

Without it, the screen is black, with it, it works.

Make sure the condition eventually becomes false, so we don’t get into an infinite loop of darkness.