Working vga output, still buggy