weird buggy code problem

Can you post a copy of the broken code somewhere so I can try to figure out the problem? Or, if it's the same as the code you posted earlier, which function did you need to comment out for it to start working?