Thanks Bryce. Yeah, that's some OLD code alright. The above code with 4.x is much smaller.

Thanks to you Shawn though for writing that code too.