settings: Add setting groups and multiline entries
Fix segfault at exit caused by non grabbed font