Fixed issue with window not loading. Inherited Singleton class is doesnt like working