Converted RectangleExploration mode to use new base class.