fix bugs in init_lynxbot, export its functions, add comments in extractlastlinkfromlynx.c