That's waaay too much code for anybody to go through. We have hundreds of posts here, so we don't have time to read through code dumps like that.

Does it work? Does it do what you expect it to? If...