updated vga.c to reflect style conventions