fixed lflags (no longer removing the last character of it)

Broken in commit ceede365ba26a96309987c22d5a3968f6733814d
more consistency
Move std-related options together
Refactor qt support.
Remove non-printable characters from Makefile
Change boolean config options to yes/no from 1/0.

Also add forgotten legacy option in config format to manpage.