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.