Background code implementation for Trim, Crop and Rotate. Speed up/down removed.