Added a pop-up for when an invalid player name is entered. Added the player addition event to a re-usable routine.