I'm sorry, but something about your writing style makes your questions hard for me to follow, and I can't figure out what question you're asking here.
One thing is that you're throwing around giant blocks of code that have minimal commenting, and you're not adding information before posting each section of code to say what a person should be looking for in them.
|