Cleanup and more descriptive errors. Loaded settings when needed in init_tags_regex.