Your second loop is blinking because you're clearing and rewriting it every 1/12 of a second. Try it like this. Put your text outside of your loops and use vsync for timing instead of WAIT.