public SpreadApplication(WindowLayer.Options opts, ResourceManager res)
 {
     ctx = WindowLayer.CreateWindowContext(opts);
     SpreadApplication.res = res;
     UILayer.InitializeUI(ctx, "#version 440 core", "res/Roboto-Regular.ttf");
 }