mdoc and language improvements.

MFC after:	1 week