ring buffer to prevent flicker
hangs on close
still hangs on close