Tested parts of the ToggleSelection helper.
Updated comments.
Updated the geometry boundary to be of type SimpleRectangle2D instead of just Rectangle2D