Super Chris to the rescue

initialized t_fdManager in thread.c
fixed addDescriptor to initialize fdManager