Rounding in image scaling computations.
Log published events.
Fix potential nil error when calculating crop size.