Added server-side infrastructure for the thread input structure. Reimplemented AttachThreadInput() and added GetGUIThreadInfo().