You're right about the flicker, the compiler has a screen lock command that I have used, but I forgot to include here. But I'll definitely consider screen pages for the next time.
Thanks for the comments
Locking the screen is something different: ScreenLock disables the integrated drawing commands, but lets you write to the buffer memory directly.