because YT object was not defined, it was not possible to load all gui elements - small changes