It's "Gandhi." And yeah, he was a racist in his earliest days, particularly against Black Africans (his movement started in South Africa.) But later on, he cleaned up his act and gave up his racism. He was also in communication with Black civil rights leaders in the US, like Paul Robeson.
There's no major evidence that he was gay, though.