Removed dead code.
Clarified the final message.
More efficient group-based maximal rectangles solver.