Set defaults for category and subcategory variables.
Strip out the spaces for locations import.