Various doc fixes + string comparison fix.