Replaced mask image with merge image. Cleaned up code to emphasize code reuse. Added method to draw a circle in the image.