tada!!! Found the memory leak in the panorama code