Refactored some code.
Typo
Dialog box for taking player names. gui only