Improved the VGA function.
From now on it can both enable and disable vga displays.