Removed allAreDone debug console printing statement