gl and widget init