demmt: flush stdout before using stderr

Useful when user redirects both stderr and stdout to a file/other process.
demmt: pipe output through less with line wrapping disabled

... when stdout is a terminal. If someone cares about switching pager
they can provide a patch. I don't care. less FTW.