Minor Hungarian algorithm optimizations... others pending, to see if there's any hope at all of seam-carving large images :)