Added accessors
Changed from extern to static class members (globalTextureManager and window)