I don’t know about the gay stuff, but now his “manifesto” (sent to various news media) says he “did it because of Charleston.”
He was dysfunctional and racially obsessed and had sued virtually every place he worked for racial discrimination long before the Charleston shootings.