Simplify and improve vga and dzenstat script.