1: \begin{abstract}
2: We prove the existence of a projective good moduli space of principal $\calg$-bundles under nonconnected reductive group schemes $\calg$ over a smooth projective curve $C$. We also prove that the moduli stack of $\calg$-bundles decomposes into finitely many substacks $\bun_{\calp}$ each admitting a torsor $\bun_{\calg_\calp}\to \bun_\calp$ under a finite group, for some connected reductive group schemes $\calg_\calp$ over $C$. We use this for the second purpose of the article: for any constant connected reductive group $G$, the subset of essentially finite $G$-bundles in the moduli of degree 0 semistable $G$-bundles over $C$ is not dense, unless $G$ is a torus or the genus of $C$ is smaller than 2. We do this by giving an upper bound on the dimension of the closure of the subset of essentially finite $G$-bundles. % in the moduli of degree 0 semistable $G$-bundles over $C$, thus showing that they are not dense unless $G$ is a torus.
3: \end{abstract}
4: