Refactored with new dictionary: imageframe.data.
Finished imageframe.data refactoring.  I think.
Bug fixes, centroid computation, and drawing method.