Fixing issue with an odd retain cycle.

I'm thinking about rewriting the majority of the code in c++. Objective C can be quirky some times (or I'm still too inexperienced).