What Junky is trying to tell you is that you'd be much more likely to receive help if you posted an SSCCE that demonstrated the problem. You said it yourself- most of the functions can be ignored,...