refactored methods for displaying player names in lobby. Added comments.