Sometimes you can't see the wood for the trees, and that is just when the community comes in to help :) Had the same thing way back when I was a programmer, just going and talking to someone else was great for solving something that seemed like a complete puzzle. Glad you got it working!