Changed nodes controlling player from null to ""

Also changed all the string comparisons to .equals rather then ==