GLSMs, Discriminants and Windows