public Game1()
{
threadTimer = new System.Timers.Timer(1000d / 240d);
threadTimer.Elapsed += new System.Timers.ElapsedEventHandler(threadTimer_Elapsed);
Global.Game = this;
graphics = new GraphicsDeviceManager(this);
Content.RootDirectory = "Content";
tcp = new TcpObject();
this.TargetElapsedTime = TimeSpan.FromSeconds(1d / 60d);
GC.KeepAlive(this.Window);
startUpWorker = new BackgroundWorker();
startUpWorker.DoWork += new DoWorkEventHandler(startUpWorker_DoWork);
}