We seem to have gotten out of sync here J. Well you are having fun. I know that it is frustrating, but we learn from our mistakes, and some people can't even manage that. My personal approach at this stage would be to go away and do something else for an hour or so. Then come back refreshed and start again.
Have a look at the Debugging 101 thread for the best hints on how to tackle this. Pay attention to the part about using echo to track your execution paths, it will help fix this.