initialize gl on the overlay window