Ensure profile names cannot have spaces and add some other restrictions to address FMC-455