Add optional debug build.
Add multi-line settings, fix stream insertion operator.