Fix UVManager and creation of UV window

Creation of UV window
Fix bug on creating managers' instances