/// <summary>The CommandThread loop, which puts the thread to sleep until the time interval has elapsed. This thread
        /// controls all user input events and processes them.</summary>
        private static void CommandThread()
        {
            Console.WriteLine(Constants.COMMAND_THREAD_STARTED);

            DateTime nextLoop = DateTime.Now;

            while (isRunning)
            {
                while (nextLoop < DateTime.Now)
                {
                    string cmd = Console.ReadLine();
                    ServerCommand.ProcessCommand(cmd);

                    Update();

                    nextLoop = nextLoop.AddMilliseconds(Constants.MST);

                    if (nextLoop > DateTime.Now)
                    {
                        Thread.Sleep(nextLoop - DateTime.Now);
                    }
                }
            }
        }