Strip dots and spaces from names

They were causing trouble with commands, if they got turned into
emoticons