code cleanup
VSYNC, chunk_visible