vga: write no longer requires length to be passed in, general cleanups