CHG: a lot of refactoring within the CropGlassPane