re-write of general settings for elgg 1.8.16