Fixed handling spaces in a player's guess. Added error message returns.
Added error handling.