Uses moments to calc center mass, other improvements
mjpg class deals with IOError's when opening url