Doubled the send/recv buffers of the AI server sockets (NPC data can be quite large, and fill up the buffers quite quickly). We should probably compress this...
Added CServerDlg::AddToList(). Cleaned up uses & fixed a crash on AI server shutdown.
Removed g_serverdown_flag as it doesn't really "fit" with the intended use of the commands any longer. Fixed an obscure memory leak (ReadQueueThread thread wasn't shutting down correctly, which meant the Packet instance wasn't being cleaned up).
I've been meaning to clean this up for a long time.