Reorganize the widget creation.
Modify the way widget shaders are created.
Move texture creation in createShader. Add an argument about the widget's parent in createShader.
Add an argument about the widget's parent in createShader.