Added VGA library for swapping buffers. Fixed buffer overlap.