public UI() { InitializeComponent(); Logger.Init("fCraft.log", this); Config.Init("config.xml"); World.server = new Server(); this.FormClosing += HandleShutDown; World.server.Run(); }