Add check for whitespace at beginning and end of game name
Fix string comparison

Thanks, @hlong290494
Merge pull request #323 from bbiletch/check-whitespace

Add check for whitespace at beginning and end of game name