(settings.c) cleanups