That is way too much code to wade through, plus you forgot the highlight tags. You'd be better off if you boiled your problem down to an SSCCE- mostly, that's just a single method being called from...