Always output `catlinks` and `dataAfterContent`, printing empty strings costs nothing.

Also corrected the commented widgetSearch output.