remove unused variable and formatting fixes
User can hit backspace when prompted for a subdomain [fixes #54967662]