Tests: better output, if markdown or docutils is missing
Avoid crash in UISettings on termination