worked out the errors in linkTimeout and linkSendPeriod. I commented on some outstanding problems.