@Sarah Gooding - The code is spaghetti. There is hooks upon hooks upon hooks. Its a mess. It went wrong from the start.
To change the look of something should not require maginc or anything complex at all. It should be simple if its not simple something has gone wrong. The presentation layer should be decoupled from the functional code it self. In BP everything is highly coupled.

I have not run into a BP site that when it comes to the BP related stuff did not look exactly like a BP site.