vga: improved code in write(), added fill() function and turned clear() into a wrapper around it.