This was a fairly simple stack corruption bug. I just fixed it. ------------------------------------------------------------------------------