Trimmed the settings code down a bit.

Why won't GitHub ignore settings.txt??